package logic

//import (
//	"order_srv/dao/dao_mysql"
//	"order_srv/proto/order"
//)
//
////  订单详情
//func OrderDetail(in *order.OrderDetailRequest) (*order.OrderDetailResponse, error) {
//	o, err := dao_mysql.OrderDetail(in.UserId, in.OrderId)
//	if err != nil {
//		return nil, err
//	}
//	return &order.OrderDetailResponse{
//		TotalNum:     o.TotalNum,
//		TotalPrice:   float32(o.TotalPrice),
//		PayPrice:     float32(o.PayPrice),
//		Paid:         o.Paid,
//		PayType:      o.PayType,
//		AddTime:      o.AddTime,
//		Status:       o.Status,
//		RefundStatus: o.RefundStatus,
//		Mark:         o.Mark,
//		VerifyCode:   o.VerifyCode,
//	}, nil
//}
